#ifndef PAGEHARMONIC_H
#define PAGEHARMONIC_H

#include <QtGui>
#include <QtCore>

#include "qcustomplot/qcustomplot.h"

class pageHarmonic : public QWidget
{
    Q_OBJECT

public:
    pageHarmonic(QWidget *parent = 0);

public:
    QPushButton *btnBack;

    QRadioButton *btnSelectStd;
    QRadioButton *btnSelectDut;

    QComboBox *cboChannel;

    QCustomPlot *harmonicPlot;
    QTableWidget *harmonicTable;
    QComboBox *harmonicOrder;
    void calError(double std, double dut);
    QLineEdit *dataStd;
    QLineEdit *dataDut;
    QLineEdit *dataError;
public:
};

#endif // PAGEHARMONIC_H
